package com.ysd.lis.service.qi;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.qi.QiIndexItem;
import com.ysd.lis.entity.qi.QiIndexItemFilter;

import java.util.List;

/**
 * <p>
 * 指标报表字段表 服务类
 * </p>
 *
 * @author LiuQi
 * @since 2024-01-29
 */
public interface QiQiIndexItemService extends IService<QiIndexItem> {

    Result getQiIndexItemList(String indexCode);
    Result getQiIndexItemListByMajorCode(String majorCode);
    Result getQiIndexItemFilterListByMajorCode(String majorCode);

    Result addQiIndexItem(QiIndexItem qiIndexItem);

    Result updateQiIndexItem(QiIndexItem qiIndexItem);

    Result deleteQiIndexItem(QiIndexItem qiIndexItem);
    Result addQiIndexItemFilter(QiIndexItemFilter qiIndexItemFilter);
    Result deleteQiIndexItemFilter(QiIndexItemFilter qiIndexItemFilter);
    Result syncQiIndexItemData(List<QiIndexItem> qiIndexItems);
}
